// 用户相关接口类型
export interface User {
  id: number;
  name: string;
  email: string;
}

export interface LoginParams {
  name: string;
  password: string;
}

export interface LoginResult {
  token: string;
  userInfo: User;
}